package com.yunji.ylexpiration.mapper;

import com.yunji.ylexpiration.entity.FurnOrders;
import com.yunji.ylexpiration.entity.FurnOrdersExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface FurnOrdersMapper {
    int countByExample(FurnOrdersExample example);

    int deleteByExample(FurnOrdersExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(FurnOrders record);

    int insertSelective(FurnOrders record);

    List<FurnOrders> selectByExample(FurnOrdersExample example);

    FurnOrders selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") FurnOrders record, @Param("example") FurnOrdersExample example);

    int updateByExample(@Param("record") FurnOrders record, @Param("example") FurnOrdersExample example);

    int updateByPrimaryKeySelective(FurnOrders record);

    int updateByPrimaryKeySelective2(FurnOrders record);

    int updateByPrimaryKey(FurnOrders record);
}